import React, { useContext } from 'react'
import './App.less'
import { Son2 } from './Son2'
import context from './context/context'


export const Son1:React.FC =() => {
   const {dispatch, state} = useContext(context)
    return (
      <>
      <div className='Son1'>
         <div>我是Son1，我也拿到值：{state.numberValue}</div>
         <Son2></Son2>
      </div>
       </>
    )
  }
